using System.Data.Entity;
using Domain.Model.Affiliates;
using Domain.Model.Banks;
using Domain.Model.Employees;
using Domain.Model.Nomenclatures;
using Domain.Model.Orders;
using Domain.Model.Partners;

namespace Infrastructure.Data
{
    public interface IMainModuleUnitOfWork
    {
        IDbSet<Affiliate> Affiliates { get; }
        IDbSet<Bank> Banks { get; }
        IDbSet<Partner> Partners{ get; }
        IDbSet<Employee> Employee { get; }
        IDbSet<Nomenclature> Nomenclatures { get; }
        IDbSet<Order> Orders { get; }
        int SaveChanges();

    }
}